package com.jrtc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jrtc.base.entity.bo.PublicVideo;
import com.jrtc.base.entity.bo.PublicVideoList;
import com.jrtc.base.entity.bo.UrlClassification;

import java.util.List;

/**
 * 运动处方视频(publicVideo)表服务接口
 *
 * @author makejava
 * @since 2022-09-06 15:03:11
 */
public interface PublicVideoService {
    /**
     * 根据id查看运动处方视频信息详情
     * @param prescriptionVideoId
     * @return
     */
    public PublicVideo queryPublicVideoById(Long prescriptionVideoId);

    /**
     * 运动处方视频列表
     * */
    public List<UrlClassification> urlList(String name);

    /**
     * 动作库视频列表
     * @param token
     * @param publicVideoList
     * @return
     */
    public IPage<PublicVideo> videoList(String token, PublicVideoList publicVideoList) throws Exception;

    /**
     * 添加运动处方视频信息
     * */
    public int insertPrescriptionvideo(String token, PublicVideo publicVideo) throws Exception;

    /**
     * 修改运动处方视频信息
     * */
    public int updatePrescriptionvideo(String token, PublicVideo publicVideo) throws Exception;
}
